Integrand size = 23, antiderivative size = 125 \[ \int (a+a \sec (c+d x))^n (e \tan (c+d x))^m \, dx=\frac {2^{1+m+n} \operatorname {AppellF1}\left (\frac {1+m}{2},m+n,1,\frac {3+m}{2},-\frac {a-a \sec (c+d x)}{a+a \sec (c+d x)},\frac {a-a \sec (c+d x)}{a+a \sec (c+d x)}\right ) \left (\frac {1}{1+\sec (c+d x)}\right )^{1+m+n} (a+a \sec (c+d x))^n (e \tan (c+d x))^{1+m}}{d e (1+m)} \]
[Out]
Time = 0.11 (sec) , antiderivative size = 125, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {3974} \[ \int (a+a \sec (c+d x))^n (e \tan (c+d x))^m \, dx=\frac {2^{m+n+1} (a \sec (c+d x)+a)^n (e \tan (c+d x))^{m+1} \left (\frac {1}{\sec (c+d x)+1}\right )^{m+n+1} \operatorname {AppellF1}\left (\frac {m+1}{2},m+n,1,\frac {m+3}{2},-\frac {a-a \sec (c+d x)}{\sec (c+d x) a+a},\frac {a-a \sec (c+d x)}{\sec (c+d x) a+a}\right )}{d e (m+1)} \]
[In]
[Out]
Rule 3974
Rubi steps \begin{align*} \text {integral}& = \frac {2^{1+m+n} \operatorname {AppellF1}\left (\frac {1+m}{2},m+n,1,\frac {3+m}{2},-\frac {a-a \sec (c+d x)}{a+a \sec (c+d x)},\frac {a-a \sec (c+d x)}{a+a \sec (c+d x)}\right ) \left (\frac {1}{1+\sec (c+d x)}\right )^{1+m+n} (a+a \sec (c+d x))^n (e \tan (c+d x))^{1+m}}{d e (1+m)} \\ \end{align*}
\[ \int (a+a \sec (c+d x))^n (e \tan (c+d x))^m \, dx=\int (a+a \sec (c+d x))^n (e \tan (c+d x))^m \, dx \]
[In]
[Out]
\[\int \left (a +a \sec \left (d x +c \right )\right )^{n} \left (e \tan \left (d x +c \right )\right )^{m}d x\]
[In]
[Out]
\[ \int (a+a \sec (c+d x))^n (e \tan (c+d x))^m \, dx=\int { {\left (a \sec \left (d x + c\right ) + a\right )}^{n} \left (e \tan \left (d x + c\right )\right )^{m} \,d x } \]
[In]
[Out]
\[ \int (a+a \sec (c+d x))^n (e \tan (c+d x))^m \, dx=\int \left (a \left (\sec {\left (c + d x \right )} + 1\right )\right )^{n} \left (e \tan {\left (c + d x \right )}\right )^{m}\, dx \]
[In]
[Out]
\[ \int (a+a \sec (c+d x))^n (e \tan (c+d x))^m \, dx=\int { {\left (a \sec \left (d x + c\right ) + a\right )}^{n} \left (e \tan \left (d x + c\right )\right )^{m} \,d x } \]
[In]
[Out]
\[ \int (a+a \sec (c+d x))^n (e \tan (c+d x))^m \, dx=\int { {\left (a \sec \left (d x + c\right ) + a\right )}^{n} \left (e \tan \left (d x + c\right )\right )^{m} \,d x } \]
[In]
[Out]
Timed out. \[ \int (a+a \sec (c+d x))^n (e \tan (c+d x))^m \, dx=\int {\left (e\,\mathrm {tan}\left (c+d\,x\right )\right )}^m\,{\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right )}^n \,d x \]
[In]
[Out]